.class Lcom/waiqin365/base/print/m;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/fiberhome/gaea/client/d/q;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/print/PrintSettingActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/print/PrintSettingActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->dismissProgressDialog()V

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->e:Lcom/waiqin365/base/print/b;

    iget-object v1, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->d(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "GBK"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/print/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const-string/jumbo v1, "\u6253\u5370\u6d4b\u8bd5\u4e2d\uff0c\u8bf7\u7a0d\u4faf..."

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->g(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->h(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "print_paired_address"

    iget-object v2, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v2}, Lcom/waiqin365/base/print/PrintSettingActivity;->g(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->i(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, "print_paired_name"

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->j(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->j(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void

    :cond_1
    const-string/jumbo v0, ""

    goto :goto_0
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->k(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->l(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "\u65ad\u5f00\u8fde\u63a5"

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    return-void
.end method

.method public c()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->k(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->m(Lcom/waiqin365/base/print/PrintSettingActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->m(Lcom/waiqin365/base/print/PrintSettingActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :cond_0
    return-void
.end method

.method public d()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const-string/jumbo v1, "\u6b63\u5728\u8fde\u63a5..."

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->showProgressDialog(Ljava/lang/String;)V

    return-void
.end method

.method public e()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    const-string/jumbo v0, "PrintSettingActivity"

    const-string/jumbo v1, "\u7b49\u5f85\u8fde\u63a5..."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method public f()V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->k(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    iget-object v1, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->n(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, "print_paired_address"

    const-string/jumbo v3, ""

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->c(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    iget-object v1, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->o(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, "print_paired_name"

    const-string/jumbo v3, ""

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->b(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->g(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v2}, Lcom/waiqin365/base/print/PrintSettingActivity;->g(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v2}, Lcom/waiqin365/base/print/PrintSettingActivity;->j(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->c(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->p(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->c(Lcom/waiqin365/base/print/PrintSettingActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "back"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->c()V

    :cond_2
    return-void
.end method

.method public g()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->k(Lcom/waiqin365/base/print/PrintSettingActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/base/print/PrintSettingActivity;->a(Lcom/waiqin365/base/print/PrintSettingActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->m(Lcom/waiqin365/base/print/PrintSettingActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/print/m;->a:Lcom/waiqin365/base/print/PrintSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/base/print/PrintSettingActivity;->m(Lcom/waiqin365/base/print/PrintSettingActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :cond_0
    return-void
.end method
